<?php
/**
 * XuYuan Project
 *
 * @package	XueYuan 
 * @author	Jiuchi Team
 * @since	Version 1.0.0
 * @filesource
 */
defined('BASEPATH') OR exit('No direct script access allowed');
/**
 * User model class
 * @author Wayne Yu
 */
class Circle_Admin_model extends Jiuchi_Model{
	/**
	 * Construct function
	 */
	public function __construct() {
		parent::__construct();
		$this->table = 'circle_admin';
	}
	
	/**
	 * Check circle name
	 */
	public function getCircleCount($uid){
		$count = 1;
		$res = $this->retrieve($count, NULL, NULL, NULL, array('user_id' => $uid));
		return $res;
	}
	
	/**
	 * Get Admin Count
	 */
	public function getAdminCount(){
		
	}
}